home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / i / internet / software / www / stik / scripts / cix_ip / dial.scr < prev    next >
Encoding:
Text File  |  1995-10-31  |  3.1 KB  |  103 lines

  1. #
  2. #   There are two parts to the connection process.
  3. #
  4. #   The first part is initialising the modem, dialing a remote system
  5. #   and establishing a connection to a remote modem.
  6. #
  7. #   The second part is to log into the remote computer.  This will
  8. #   involve entering a username and password, selecting SLIP mode,
  9. #   and reading the Internet Address that your system will have for
  10. #   the duration of the session.
  11. #
  12. #
  13. #   Dial Script Part 1  -  Establishing the connection.
  14. #
  15. #   The first thing to do is to specify the speed of the modem with
  16. #   the BAUD_RATE variable.
  17. #
  18. BAUD_RATE = 38400
  19. #
  20. #
  21. #   Next you should define how your modem responds to the DTR
  22. #   signal.  STiK will use the DTR signal to hangup the modem
  23. #   if HANGUP = DTR is set.  Otherwise set HANGUP to the
  24. #   appropriate hangup string for your modem. (eg: HANGUP = ATH)
  25. #
  26. HANGUP = DTR
  27. #
  28. #
  29. #   PREFIX sets the dial prefix (ie: ATD, ATDT, ATDP)
  30. #
  31. PREFIX = ATDT
  32. #
  33. #
  34. #   INIT set the string you can use to initialise the modem.
  35. #
  36. INIT = ATZ
  37. #
  38. #
  39. #   Dialing paramaters.
  40. #
  41. #   The dialing parameters are CONNECT_WAIT and REDIAL_DELAY.  These
  42. #   are times in seconds.  CONNECT_WAIT is the amount of time to wait
  43. #   for a connection after dialing a number.  REDIAL_DELAY is the amount
  44. #   of time to wait in between dial attempts.
  45. #
  46. CONNECT_WAIT = 35
  47. REDIAL_DELAY = 20
  48. #
  49. #
  50. #   Phone Number(s).  PHONE_NUMBER = number.  Some providers
  51. #   have more than one number you can dial.  You can specify
  52. #   up to five phone numbers here.
  53. #
  54. PHONE_NUMBER = 01812960303
  55. #
  56. #
  57. #   Determining connection success/failure.
  58. #
  59. #   Connection success can be determined either by detecting the
  60. #   modems Carrier Detect signal (SUCCESS = CDWAIT), or waiting 
  61. #   for a CONNECT response (SUCCESS = CONNECT) from the modem.
  62. #   Failure can be determined by a timeout or a modem response
  63. #   such as NO CARRIER, BUSY, NO DIALTONE etc.
  64. #   Up to five FAILURE test words can be set.
  65. #
  66. SUCCESS = CONNECT
  67. FAILURE = BUSY
  68. FAILURE = NO CARRIER
  69. FAILURE = NO DIALTONE
  70. #
  71. #
  72. #
  73. #   Dial Script Part 2  -  Log in to the Service Provider.
  74. #
  75. #   The STiK dialer uses the standard `conversational' method for
  76. #   login to the provider.  This involves searching for certain
  77. #   words and sending an appropriate response.  The special
  78. #   response $GET_IP is used to read the IP address that your
  79. #   provider has assigned you for this session.  If your provider
  80. #   has allocated you a permanent IP Address, then you should set
  81. #   it in the default.cfg file and NOT use $GET_IP.
  82. #
  83. #   Each step of the `conversation' is specified as a FIND line
  84. #   and a RESP line.  There can be up to 10 steps.  Each FIND
  85. #   must have a matching RESP, or the dialer will get confused.
  86. #
  87. #   By default each RESP line is sent with a carriage return
  88. #   character at the end.  If you need to use a line feed character
  89. #   instead then put a | at the end of the line.  This only works
  90. #   if the | is the last character of the line.
  91. #
  92. #
  93. FIND = name:
  94. RESP = cyberstrider
  95. #
  96. FIND = word:
  97. RESP = your password
  98. #
  99. FIND = ster>
  100. # Note: enter your IP address after SLIP below
  101. RESP = SLIP x.x.x.x 
  102. #
  103. FIND = eader